public class Example09 {
    public static void main(String[] args){
        int grade = 75;
        if(grade > 80){
            System.out.println("该成绩的等级为优");
        }else if(grade > 70){
            System.out.println("该成绩的等级为良");
        }else if(grade > 60){
            System.out.println("该成绩的等级为中");
        }else{
            System.out.println("该成绩的等级为差");
        }
    }

    public static class Example07 {
        public static void main(String[] args){
            int x = 5;
            if(x < 10){
                x++;
            }
            System.out.println("x=" + x);
        }
    }
}
